/**
 * Created with JetBrains PhpStorm.
 * User: adam
 * Date: 13-6-24
 * Time: 上午9:00
 * To change this template use File | Settings | File Templates.
 */
function checkinput(){
    var eminput = $(".noempty");
    var isempty = false;
    for(var i=0;i<eminput.length;i++)
    {
        if(eminput[i].value==""){
            eminput[i].style.border="1px solid red";
            isempty= true;
        }else{
            eminput[i].style.border="1px solid #0092C7";

        }
    }
    if(isempty)
    {
        alert("亲，红框框不能为空哦");
        return false;
    }
    return true;
}

